<?xml version="1.0" encoding= "UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:form>

	<pre />
	<p:dataScroller value="#{profileBean.currentUser.events}" var="event">


		<h:panelGrid columns="1" cellpadding="5">

			<h:link value="#{event.eventTitle}" outcome="/event/info"
				includeViewParams="true">
				<f:param name="id" value="#{event.eventId}" />

			</h:link>
			<p:separator style="width:100%;height:1px" />
		</h:panelGrid>

	</p:dataScroller>
</h:form>
</html>